package com.niannian.util;

import com.niannian.bean.PushCommentCache;

public final class VAR {
	public static final int OK = 0;
	public static final int ERROR = -1;
	public static final String KEY = "1234567890-=[]";
	public static final String LEVEL_INFO = "_____info_____";
	public static final String LEVEL_WARNING = "_____warning_____";
	public static final String LEVEL_ERROR = "_____error_____";

	public static final int PHOTO_OK = 0;
	public static final int PHOTO_ERROR = -1;
	public static final int PHOTO_HRAPH = 8;
	public static final int PHOTO_ALBUM = 9;
	public static final int TAKE_PICTURE = 10;

	// 用户资料编辑
	public static final int EDIT_AVATAR = 1;
	public static final int EDIT_NICKNAME = 2;
	public static final int EDIT_INNERNAME = 3;
	public static final int EDIT_BIRTH = 4;
	public static final int EDIT_GENDER = 5;
	public static final int EDIT_PHONE = 6;

	// 语音播放限制
	public static final int INTERVAL = 500;
	public static Long ExitTime = 0L;

	public static final int rINTERVAL = 100;

	public static final String _FILE_() {
		StackTraceElement stackTraces[] = (new Throwable()).getStackTrace();
		return stackTraces[1].getFileName();
	}

	public static final int _LINE_() {
		StackTraceElement stackTraces[] = (new Throwable()).getStackTrace();
		return stackTraces[1].getLineNumber();
	}

	public static final String _FUNC_() {
		StackTraceElement stackTraces[] = (new Throwable()).getStackTrace();
		return stackTraces[1].getMethodName();
	}

	public static PushCommentCache pushCommentCache = new PushCommentCache();

}
